<template>
	<div>
		<van-empty class="custom-image" :image="img" :description="text" />
	</div>
</template>

<script>
export default {
	name: 'index',
	props: {
		img: {
			type: String,
			default: '',
		},
		text: {
			type: String,
			default: '暂无',
		},
	},
	components: {},
	data() {
		return {};
	},
	mounted() {},
	methods: {},
};
</script>

<style lang="scss" scoped>
.custom-image {
	padding-top: 35%;

	::v-deep .van-empty__image {
		width: 7.077295rem;
		height: 5.2657rem;
	}
}
</style>
